#include <mutex>
#include "led.h"

using namespace std;

class LedCnt{
public:
    static LedCnt* instance();

    bool setStaticLed(LedColor_t color);
	
	bool setFlickLed(LedColor_t color, int onTime, int offTime);

protected:
    LedCnt(){}
    ~LedCnt(){}

private:
    static LedCnt* sm_ledCnt;
    static mutex   sm_instanceLock;
};